package com.hospital.hl7package.module.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hospital.hl7package.module.entity.ScheduledOperationName;
import com.hospital.hl7package.module.mapper.ScheduledOperationNameMapper;
import com.hospital.hl7package.module.service.ScheduledOperationNameService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lvyao
 * @since 2021-03-15
 */
@Service
public class ScheduledOperationNameServiceImpl extends ServiceImpl<ScheduledOperationNameMapper, ScheduledOperationName> implements ScheduledOperationNameService {

    @Resource
    private  ScheduledOperationNameMapper scheduledOperationNameMapper;
    @Override
    public List<ScheduledOperationName> getScheduledOperationName(String oneKey) {
        return scheduledOperationNameMapper.getScheduledOperationName(oneKey);
    }

    @Override
    public Boolean deleteScheduledOperationName(String oneKey) {
        return scheduledOperationNameMapper.deleteScheduledOperationName(oneKey);
    }
}
